Description | Example | Return Message | Group(s)

SCHED: GetResourceInfoOptsByGroups

Format

SCHED / GetResourceInfoOpts '<ResourceGroupName>' '<FileName>' OptionList

Description

The SCHED GetResourceInfoOptsByGroups command returns some of the attributes of the resources of a resource group specified by the <ResourceGroupName> parameter in a report. Its function is mostly identical to the SCHED GetResourceInfoByGroups command, except that the only data in the report is what is specifically requested in the "OptionList".

Parameters

  • ResourceGroupName: The parameter is a string of text in single quotes of a comma delimited list of resource group names. Resource group names should not be in quotes.
  • FileName: The parameter is a string of text in single quotes of the absolute path of the filename. Empty string is allowed if it is not written out to a file.
  • OptionList: One or more strings specifying what fields should be in the report. There are many available, matching the names of the entries in the Resource Report page. If no strings are given, the full report is generated. Note that the options should not be enclosed by quotes.

Examples

Finds the values of the "name" and "priority" attributes of the resources in the Satellites resource group in the active schedule and save the file "out.txt" located at "C:\Outputs\"
SCHED / GetResourceInfoOptsByGroups 'Satellites' 'C:\Outputs\out.txt' RR_RESOURCE_NAME RR_PRIORITY

SyntaxExample
<CommandName>SCHED / GetResourceInfoOptsByGroups
<ResourceGroupName>'Satellites'
<FileName>'C:\Outputs\out.txt'
<OptionList>RR_RESOURCE_NAME RR_PRIORITY

Return Message

Connect returns a message that contains the resource names and priorities of resources within the specified resource group. The lines containing this data matches the format specified on the Resource Report page, though lines whose labels are not present in the "OptionList" are omitted.

Group Membership

This command belongs to the following group(s):

Scheduler

Version

12.2